package com.foxitcloud.webpdf.common;

import java.io.Serializable;


public class TextSignatureData extends SignatureData implements Serializable{
	private static final long serialVersionUID = 3605550062886924148L;
	private float fontSize;
	private String fontName;
	private long color;
	private String signText;	
	private boolean bUnderLine;
	private boolean	bBold;
	private boolean bItalic;

	public TextSignatureData(){
		this.type = 0;
		this.fontName = "Helvetica";
		this.fontSize = 12.0f;
		this.color = 0x000000;	
		this.signText = "";
		this.bBold = false;
		this.bUnderLine = false;
		this.bItalic = false;
	}

	public void setFontSize(float fontSize) {
		this.fontSize = fontSize;
	}

	public void setFontName(String fontName) {
		this.fontName = fontName;
	}

	public void setColor(long color) {
		this.color = color;
	}

	public void setSignText(String signText) {
		this.signText = signText;
	}
	
	public void setUnderLineTag(boolean bUnderLine){
		this.bUnderLine = bUnderLine;
	}
	
	public void setBoldTag(boolean bBold){
		this.bBold = bBold;
	}
	
	public void setItalicTag(boolean bItalic) {
		this.bItalic = bItalic;
	}

	@Override
	public void setxPos(float xPos) {
		this.xPos = xPos;
	}

	@Override
	public void setyPos(float yPos) {
		this.yPos = yPos;
	}
}
